package model;

import model.duty;

public class UserDutyMessage {
	private int status;
	private String message;
	private duty[] data;
	private String cookie;
	
	public UserDutyMessage(int status, String message, duty[] data, String cookie)
	{
		this.status = status;
		this.message = message;
		this.data = data;
		this.cookie = cookie;
	}
	
	public UserDutyMessage(int status, String message, duty[] data)
	{
		this.status = status;
		this.message = message;
		this.data = data;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public duty[] getData() {
		return data;
	}

	public void setData(duty[] data) {
		this.data = data;
	}

	public String getCookie() {
		return cookie;
	}

	public void setCookie(String cookie) {
		this.cookie = cookie;
	}
}
